package com.example.jmmconsumerkotlin.di.model

import android.app.Application
import android.content.Context
import dagger.Binds
import dagger.Module
import javax.inject.Singleton

/**
 * Created by Ystar
 *Data 2019/9/3
 */
@Module
abstract class ApplicationModule {
    @Binds
    @Singleton
    internal abstract fun bindContext(application: Application): Context
}